package com.ruoyi.slope.data.weather.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;

/**
 * 气象监测数据对象 slope_weather_data
 * 
 * @author ruoyi
 * @date 2025-05-02
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Mapper
public class SlopeWeatherData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

@Excel(name="边坡ID")
private String slopeId;

@Excel(name="监测点ID")
private String monitorId;

    /** 逻辑主键ID */
    private Long id;

    @Excel(name = "数据时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 设备SN */
    @Excel(name = "设备SN")
    private String deviceSn;

    /** 累计降雨量(mm) */
    @Excel(name = "累计降雨量(mm)")
    private Double cumulativeRainfall;

    /** 日降雨量(mm) */
    @Excel(name = "日降雨量(mm)")
    private Double dailyRainfall;

    /** 小时降雨量(mm) */
    @Excel(name = "小时降雨量(mm)")
    private Double hourlyRainfall;

    /** 分钟降雨量(mm) */
    @Excel(name = "分钟降雨量(mm)")
    private Double minRainfall;

    /** 气温(°C) */
    @Excel(name = "气温(°C)")
    private Double temperature;

    /** 气压(Kpa) */
    @Excel(name = "气压(Kpa)")
    private Double pressure;

    /** 风速(m/s) */
    @Excel(name = "风速(m/s)")
    private Double windSpeed;

    /** 风向(°) */
    @Excel(name = "风向(°)")
    private Double windDirection;

    /** 空气湿度(%RH) */
    @Excel(name = "空气湿度(%RH)")
    private Double humidity;

    /** 太阳光总辐射(w/m²) */
    @Excel(name = "太阳光总辐射(w/m²)")
    private Double solarRadiation;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 部门ID */
    private Long deptId;

}
